The Slider Component > FSlider.setLargeStepAmount()

 

FSlider.setLargeStepAmount()

Availability

Flash Player 6.

Usage

mySlider_sld.setLargeStepAmount (step)

Parameters

step The amount the thumb should move when the user holds down the CTRL key while pressing one of the arrow keys on the keyboard.

Returns


Nothing

Description

Sets the large step amount. The large step amount is the value of how much the thumb on the slider will move when the user holds down the CTRL key while pressing one of the arrow keys on the keyboard. It only affects keyboard navigation.

Example

The slider_getLargeStepAmount.fla example file contains an example of using this method.

The following code sets and then retrieves the largeStepAmount for the slider component:

mySlider_sld.setLargeStepAmount(10);
trace(mySlider_sld.getLargeStepAmount());//traces 10

 

See also

FSlider.getLargeStepAmount()

FSlider.getSmallStepAmount()

FSlider.setSmallStepAmount()